<template>
  <view class="list flex-direction-column">
	<view class="title">团队资料</view>
    <view class="item flex-space-between" v-for="(i, v) in props.list" :key="v">
      <view class="label">{{ i.model }}</view>
      <view class="desc flex-wrap">
        <text v-if="i.type != 9 && i.type != 10 && i.type != 6">{{ i.value }}</text>
        <view class="flex-wrap" v-if="i.type == 6">
          <text v-for="(ii, vv) in i.value" :key="vv">{{ ii }}</text>
        </view>
        <view class="flex-wrap" v-if="i.type == 9">
          <image mode="aspectFill" v-for="(ii, vv) in i.value" :src="ii" :key="vv"></image>
        </view>
      </view>
    </view>
  </view>
</template>

<script setup lang="ts">
import { PropType } from 'vue'
import { Tlist } from '@/typings/list'
const props = defineProps({
  list: {
    type: Array as PropType<Tlist['item'][]>
  }
})
</script>

<style lang="scss" scoped>
@import './css/index.scss';
</style>
